<template>
	<view class="icons">
		<view class="icon_item" v-for="(item,index) in dataicons" :key="index">
			<image class="icon_img bg-color" :src="item.imgUrl"></image>
			<text class="icon_name">{{item.name}}</text>
		</view>
	</view>
</template>

<script>
	export default {
		name:"icons",
		props:{dataicons:Array},
		data() {
			return {
				
			};
		}
	}
</script>

<style>
	.icons{
		display: flex;
		flex-wrap: wrap;
	}
	.icon_item{
		width: 25%;
		display: flex;
		flex-direction: column;
		align-items: center;
		padding-top:20rpx ;
	}
	.icon_img{
		width: 100rpx;
		height: 110rpx;
		border-radius: 30rpx;
	}

</style>